import unittest

import ddt



@ddt.ddt
class LoginTestcase(unittest.TestCase):
    data_list = [
        {'username': 'fine1', 'password': '123456'},
        {'username': 'fine2', 'password': '123456'}]
    @ddt.data(*data_list)
    def test_login(self, data):
        print(data)

if __name__ == '__main__':
    unittest.main(verbosity=2)